<div class="layui-tab-content" style="padding:20px;">
  <fieldset class="layui-elem-field">
      <legend>查找</legend>
      <div class="layui-field-box">
        <form class="layui-form" action="">
          <div class="layui-form-item">
          {volist name="list" id="vo" mod="3"}
            {if $vo['type']=='hidden'}
              <input type="hidden" name="{$vo['name']}" value="{:input($vo['name'])?:''}">
            {elseif $vo['type']=='text'}
              <div class="layui-inline">
                  <label class="layui-form-label">{$vo['title']?:''}</label>
                  <div class="layui-input-inline">
                      <input type="text" name="{$vo['name']?:''}" value="{:input($vo['name'])?:''}" autocomplete="off" class="layui-input">
                  </div>
              </div>
            {elseif $vo['type']=='select'}
              <div class="layui-inline">
                  <label class="layui-form-label">{$vo['title']?:''}</label>
                  <div class="layui-input-inline">
                      <select name="{$vo['name']}" lay-filter="">
                        {volist name="vo['option']" id="vov"}
                        <option value="{$vov['value']}" {:input($vo['name'])==$vov['value']?'selected':''}>{$vov['key']}</option>
                        {/volist}
                      </select>
                  </div>
              </div>
            {elseif $vo['type']=='switch'}
              <div class="layui-form-item">
                  <label class="layui-form-label">{$vo['title']?:''}</label>
                  <div class="layui-input-block">
                      <input type="checkbox" {:input($vo['name'])==1? 'checked': ''} value="1" name="{$vo['name']}" lay-skin="switch" lay-filter="switchTest" lay-text="是|否">
                  </div>
              </div>
            {elseif $vo['type']=='s_e_text'}
              <div class="layui-inline">
                  <label class="layui-form-label">{$vo['title']?:''}</label>
                  <div class="layui-input-inline">
                      <input type="text" name="{$vo['s_name']}" value="{:input($vo['s_name'])?:''}" autocomplete="off" class="layui-input">
                  </div>
                  <div class="layui-form-mid">-</div>
                  <div class="layui-input-inline">
                      <input type="text" name="{$vo['e_name']}" value="{:input($vo['e_name'])?:''}" autocomplete="off" class="layui-input">
                  </div>
              </div>
            {elseif $vo['type']=='s_e_date'}
              <div class="layui-inline">
                  <label class="layui-form-label">{$vo['title']?:''}</label>
                  <div class="layui-input-inline">
                      <input type="text" name="{$vo['s_name']}" value="{:input($vo['s_name'])?:''}" id="{$vo['s_name']}" autocomplete="off" class="layui-input">
                  </div>
                  <div class="layui-form-mid">-</div>
                  <div class="layui-input-inline">
                      <input type="text" name="{$vo['e_name']}" value="{:input($vo['e_name'])?:''}" id="{$vo['e_name']}" autocomplete="off" class="layui-input">
                  </div>
              </div>
              <script>
                  layui.use(['laydate'], function() {
                      var laydate = layui.laydate;
                      laydate.render({
                          elem: '#{$vo['s_name']}'
                      });
                      laydate.render({
                          elem: '#{$vo['e_name']}'
                      });
                  });
              </script>
            {/if}
          {/volist}
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label"></label>
              <div class="layui-input-inline">
                  <button class="layui-btn layui-btn-primary" lay-submit="" lay-filter="search">查找</button>
              </div>
          </div>
        </form>
      </div>
  </fieldset>
</div>
